Component({
    properties: {
        title: String,
        list: Array,
        key: {
            type: String,
            value: "uid"
        },
        min: {
            type: Number,
            value: 0
        },
        mode: {
            type: String,
            value: "edit"
        }
    },
    data: {},
    methods: {
        onAdd: function() {
            this.triggerEvent("add", {}, {});
        },
        onDel: function() {
            this.triggerEvent("del", {}, {});
        }
    }
});